<% if $event_is_timely -%>
	<h1>Who's Coming</h1>
	<% if @participants.empty? -%>
		No one has registered yet.
	<% end %>
<% else %>
	<h1>Participants</h1>
<% end %>

<% if not @participants.empty? -%>
	<% if $event_is_timely -%>
		<p class="dim"><%= @participants.length %> people are participating</p>
	<% else %>
		<p class="dim"><%= @participants.length %> people participated</p>
	<% end %>

	<% @participants.each do |person| -%>
		<p>
			<%= render :partial => 'participant', :locals => { :person => person } %>
		</p>
	<% end -%>
<% end -%>